package com.plantplaces.dao;

import java.util.ArrayList;

import com.plantplaces.dto.Plant;

/**
 * An interface for methods that are specific to the local database.
 * @author jonesbr
 *
 */
public interface IOfflinePlantDAO extends IPlantDAO {

	/**
	 * Save this plant to the local database.
	 * 
	 * @param plant The plant we wish to save.
	 * @throws Exception
	 */
	public void insert(Plant plant) throws Exception;
	
	
	/**
	 * Fetch all unique genus from the database.
	 * @return a String collection of all genus.
	 */
	public ArrayList<String> fetchGenus();
}
